package com.web.visitors_backend.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @TableName visitor
 */
@TableName(value = "visitor")
@Data
public class Visitor {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String phone;

    /**
     *
     */
    private String company;

    /**
     *
     */
    private String message;
    /**
     *
     */
    private Date time;

    /**
     *
     */
    private String qr_code;
}